<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    评论：
    <input type="text">
    <button>提交</button>
    <ul>
        <li></li>
    </ul>
</body>
</html>
<script src="./lib/axios.min.js"></script>
<script>
    axios.get('https://hmajax.itheima.net/api/cmtlist?page=1').then(res=>{
        // var arr=res.data.data
        // var brr= JSON.stringify(arr[0])
        // document.querySelector('li').innerHTML=brr
        console.log(res);
        
        
    })
</script>